/********************************************************************************
 * <PRE> * 파일 정보 *
 * 1. FileName	: GCMMessageInfo.java
 * 2. Package	: com.ncomz.nzeip.common.util
 * 3. 설명        	: TODO
 * 4. 작성자		: P044826
 * 5. 작성일		: 2014. 5. 9. 오전 11:06:34
 * 6. 설명		:
 * </PRE>
 ********************************************************************************/


package com.sunny.hp.common.util;

import java.util.ArrayList;

/********************************************************************************
 * <PRE> * 프로그램 정보 *
 * 1. Project		: bems20
 * 2. Package	: com.ncomz.nzeip.common.util
 * 3. FileName	: GCMMessageInfo.java
 * 4. 작성자		: P044826
 * 5. 작성일		: 2014. 5. 9. 오전 11:06:34
 * 6. 설명			:
 * </PRE>
 ********************************************************************************/

public class GCMMessageInfo {
	
	private String server_sender = "";
	private String sender_id = "";
	private ArrayList<String> receiverArray = new ArrayList<String>();
	private String message = "";
	private String message_type = "";
	private String message_code = "";
	
	private String message_url = "";

	
	public String getServer_sender() {
		return PropertiesUtil.getMessage("gcm.sender");
	}
	
	public String getSendMessage(){
		return getMessage_type() + "|" + getMessage_code() + "|" + getMessage() + "|" + getMessage_url();
	}

	public String getSender_id() {
		return sender_id;
	}
	public void setSender_id(String sender_id) {
		this.sender_id = sender_id;
	}
	public ArrayList<String> getReceiverArray() {
		return receiverArray;
	}
	public void setReceiverArray(ArrayList<String> receiverArray) {
		this.receiverArray = receiverArray;
	}
	public void addReceiverArray(String receiver) {
		this.receiverArray.add(receiver);
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage_type() {
		return message_type;
	}
	public void setMessage_type(String message_type) {
		this.message_type = message_type;
	}
	public String getMessage_code() {
		return message_code;
	}
	public void setMessage_code(String message_code) {
		this.message_code = message_code;
	}

	public String getMessage_url() {
		return message_url;
	}

	public void setMessage_url(String message_url) {
		this.message_url = message_url;
	}
	
	

}
